<template>
  <div>
    <!--引用头部组件-->
    <Header></Header>
    <div style="display: flex">
      <!--引入侧边栏组件-->
      <Aside></Aside>
      <!--内容区域 这个部分通过路由机制返回的页面展示，默认路由到HomeView
      http://localhost:10000/ => HomeView.vue-->
      <router-view style="flex: 1"/>
    </div>
  </div>
</template>

<style>

</style>
<script>
import Header from "@/components/Header.vue";
import Aside from "@/components/Aside.vue";

export default {
  name: 'LayOut',
  components: {
    //HelloWorld
    Header,
    Aside
  }
}
</script>